package com.xuecheng.content.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 课程基本信息
 * </p>
 *
 * @author itheima
 * @since 2022-07-16
 */
@Getter
@Setter
@TableName("tb_course_base")
public class CourseBase implements Serializable {

    private static final long serialVersionUID = 1L;

    //主键
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    //机构ID
    private Long companyId;
    // 机构名称
    private String companyName;
    //课程名称
    private String name;
    //适用人群
    private String users;
    //课程标签
    private String tags;
    //大分类
    private String mt;
    //课程大类名称
    private String mtName;
    //小分类
    private String st;
    //课程小类名称
    private String stName;
    //课程等级
    private String grade;
    //教育模式(common普通，record 录播，live直播等）
    private String teachmode;
    //课程介绍
    private String description;
    //课程图片
    private String pic;
    //审核状态
    private String auditStatus;
    //审核意见
    private String auditMind;
    //是否删除：1为未删除，0为删除
    @TableLogic(value = "1",delval = "0")
    private Integer status;
    //课程发布标识
    private Long coursePubId;
    // 是否收费
    private String charge;
    //单价
    private BigDecimal price;
    // 创建时间
    private Date createDate;
    //审核时间
    private Date auditDate;
    private Integer planNum;


}
